'use strict';

module.exports = app => {
  const { STRING, INTEGER } = app.Sequelize;

  const Userinfo = app.model.define('user_info', {
    id: {
      type: INTEGER,
      primaryKey: true,
    },
    mobile: STRING(25),
    email: STRING(40),
    realname: STRING(50),
    qq: STRING(25),
  });
  return Userinfo;
};
